/**
 * 版权所有 2009-2015 中国中医科学院中医药信息研究所 何前锋 frontpeak@yahoo.com.cn
 **/
package cn.ac.cintcm.sh.domain;

public class Alia {
    private static final String ITEM_SPLITTER = "、";

    private String formalName;
    private String[] alias;
    
    public Alia(String formal, String alias) {
        this.formalName = formal;
        if (alias != null) {
            this.alias = alias.split(ITEM_SPLITTER);
        }
    }

    public String[] getAlias() {
        return alias;
    }

    public void setAlias(String[] alias) {
        this.alias = alias;
    }

    public String getFormalName() {
        return formalName;
    }

    public void setFormalName(String formalName) {
        this.formalName = formalName;
    }
}